package com.sg.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author xxx
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ba8e32eb375c11ed87d500163e1b729d")
public class OmsAccountPlanBillRs extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 规划下账单ID
     */
    @TableId(value = "plan_bill_rs_id", type = IdType.UUID)
    @NotNull(message = "planBillRsId不能为空")
    private String planBillRsId;
    /**
     * 规划费用账单ID
     */
    @TableField(value = "plan_bill_id")
    @NotNull(message = "规划费用账单ID不能为空")
    @ApiModelProperty("规划费用账单ID")
    private String planBillId;
    /**
     * 规划账户ID
     */
    @TableField(value = "plan_account_id")
    @NotNull(message = "规划账户ID不能为空")
    @ApiModelProperty("规划账户ID")
    private String planAccountId;
    /**
     * 操作人就职记录ID
     */
    @TableField(value = "operation_induction_id")
    @NotNull(message = "操作人就职记录ID不能为空")
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;
    /**
     * 创建人就职记录ID
     */
    @TableField(value = "create_induction_id")
    @NotNull(message = "创建人就职记录ID 不能为空")
    @ApiModelProperty("创建人就职记录ID ")
    private String createInductionId;
    /**
     * 操作时间
     */
    @TableField(value = "operate_time")
    @NotNull(message = "操作时间不能为空")
    @ApiModelProperty("操作时间")
    private Date operateTime;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @NotNull(message = "创建时间不能为空")
    @ApiModelProperty("创建时间")
    private Date createTime;
    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
    @NotNull(message = "是否作废不能为空")
    @ApiModelProperty("是否作废")
    private String isValid;
    /**
     * 创建于空间ID
     */
    @TableField(value = "space_id")
    @NotNull(message = "创建于空间ID不能为空")
    @ApiModelProperty("创建于空间ID")
    private String spaceId;
    /**
     * 创建于联盟应用ID
     */
    @TableField(value = "app_id")
    @NotNull(message = "创建于联盟应用ID不能为空")
    @ApiModelProperty("创建于联盟应用ID")
    private String appId;
}
